package com.tianxiabuyi.model.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.tianxiabuyi.model.base.TXBYObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 意见反馈
 */
@Entity
@Table(name = "hospital_feedback")
public class HospitalFeedback extends TXBYObject {

    /**
     * 软件版本
     */
    @JSONField(name = "version_code")
    @Column(name = "version_code")
    private Integer versionCode;

    /**
     * 软件版本号
     */
    private String version;

    /**
     * 设备类型（iOS为0， Android为1）
     */
    private Integer device;

    /**
     * 意见
     */
    private String suggestion;

    /**
     * 用户编号
     */
    private Integer uid;

    /**
     * 联系方式
     */
    private String contact;

    /**
     * 称呼
     */
    private String name;

    /**
     * 图片
     */
    private String img;

    /**
     * 语音
     */
    private String voice;

    /**
     * 评分
     */
    private Integer grade;

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getVoice() {
        return voice;
    }

    public void setVoice(String voice) {
        this.voice = voice;
    }

    public Integer getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(Integer versionCode) {
        this.versionCode = versionCode;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Integer getDevice() {
        return device;
    }

    public void setDevice(Integer device) {
        this.device = device;
    }

    public String getSuggestion() {
        return suggestion;
    }

    public void setSuggestion(String suggestion) {
        this.suggestion = suggestion;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }
}
